﻿using System;
using System.Windows.Forms;

namespace BingSpatialDataServiceExcelAddin.Views
{
    public partial class OutputModal : Form
    {
        public OutputModal(string title, string output)
        {
            InitializeComponent();

            this.Text = title;
            OutputTbx.Text = output;
        }

        private void CopyToClipboardBtn_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Clipboard.SetText(OutputTbx.Text);
        }

        private void CloseBtn_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
